[PATCH] Revert "AccountPage: Use FormLinkDelegate for "Open Server in Browser" button"
authorAurélien COUDERC <coucouf@coucouf.fr>
Thu, 24 Jul 2025 16:48:58 +0000 (18:48 +0200)
committerPino Toscano <pino@debian.org>
Fri, 26 Sep 2025 08:11:26 +0000 (10:11 +0200)
This reverts commit 357ef28c2b91b724874797514b5bdffd86b727c5.

Gbp-Pq: Name upstream_revert_357ef28c_accountpage-use-formlinkdelegate-for-open-ser.patch

src/content/ui/Settings/AccountPage.qml

index e3a6ec4c6088fc3cc0a4b146d3c913a2a805641d..6c21588d4820e10e554b1b843b6daf07738e5a40 100644 (file)
@@ -223,13 +223,12 @@ Kirigami.Page {
                     FormCard.FormDelegateSeparator {
                     }
 
-                    FormCard.FormLinkDelegate {
+                    FormCard.FormButtonDelegate {
                         Layout.fillWidth: true
                         id: websiteDelegate
-                        icon.name: "globe-symbolic"
                         text: i18nc("@abel Account preferences", "Open Server in Browser")
                         description: i18n("Some settings can only be configured on your server's website.")
-                        url: root.account.instanceUri
+                        onClicked: Qt.openUrlExternally(root.account.instanceUri)
                     }
                 }
             }